cmake_minimum_required(VERSION 3.0.2)
project(robot_solver_pkg)

find_package(catkin REQUIRED COMPONENTS
  roscpp
  geometry_msgs
  std_msgs
  moveit_core
  moveit_ros_planning
  moveit_ros_planning_interface
  
  message_generation
)

add_service_files(
  FILES
  ArmControl.srv
)

generate_messages(
  DEPENDENCIES
  std_msgs
  geometry_msgs
)


catkin_package(
  CATKIN_DEPENDS
  roscpp
  geometry_msgs
  std_msgs
  moveit_core
  moveit_ros_planning
  moveit_ros_planning_interface

  message_runtime
)


include_directories(
  ${catkin_INCLUDE_DIRS}
)

catkin_install_python(PROGRAMS
  scripts/arm_robot_rbtx_node.py
  DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)


catkin_install_python(PROGRAMS
  scripts/test.py
  DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
